/* eslint-disable no-console */
// import { type } from "@testing-library/user-event/dist/type";
import ajax from "../ajax";
import Service from "../service";
// import { size } from 'lodash'

class FileServer extends Service {
  public async getFile(current: number, size: number): Promise<unknown> {
    const result = await ajax({
      method: "get",
      url: `/apiFile/oss/pageOss/${current}/${size}`,
    });
    return result?.data;
  }
}
export default new FileServer();
